graph theory:degree sequence